/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.service;

import java.util.List;

import com.ruipengkj.bean.TEmployee;
import com.ruipengkj.commons.service.IGenericService;
/**
 * 说明：
 * 员工信息表Service层接口
 * @Author：李智深
 * @Date：2012-03-16
 */
public interface TEmployeeService extends IGenericService<TEmployee, String>{
	//登陆
	public TEmployee login(String username,String password)throws Exception;
	
	//根据用户名进行查询
	public TEmployee getTEmployeeByUserName(String username)throws Exception;
	
	//查询最大员工号
	public String getTEmployeeSn()throws Exception;
	
	//根据ID，只查名字
	public TEmployee getNameByIdService(String id) throws Exception;
	/**查询商品列表+名称查询*/
	public List<TEmployee> findByNameService(String name) throws Exception;
}
